/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package CastleDefense;

/**
 *
 * @author Firedemon
 */
//import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "help")
// If you want you can define the order in which the fields are written
// Optional
@XmlType(propOrder = { "id", "text"})
public class Help 
{
    private int    id;
    private String text;
    
    // If you dont like the variable name, e.g. "name", you can easily change this
    // variable name for your XML-Output:
    @XmlElement(name = "id")
    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }
    
    @XmlElement(name = "text")
    public String getText()
    {
        return text;
    }

    public void setText(String text)
    {
        this.text = text;
    }
}
